<template>
  <div>
     <CartListItem v-for="(item,index) in getcartList" :key="index" :product="item"></CartListItem>
  </div>
</template>

<script>
import CartListItem from './cartlistitem'
import { mapGetters } from 'vuex'
export default {
  name: 'cartlist',
  data() {
    return {
    }
  },
  components: {
    CartListItem
  },
  computed: {
    ...mapGetters(['getcartList'])
  }
}
</script>

<style lang="stylus" scoped>

</style>